package 简单工厂模式.练习;

/**
 *
 */
public class EasyFactory {

    public static Fu createZi(String type, String sayStr) {
        Fu fu = null;
        switch (type) {
            case "easy":
                fu = new Zi(sayStr);
                break;
        }
        return fu;
    }

}
